import request from '@/utils/request'

// 查询当前学习计划下某个用户完成进度情况
export function getPlanProgressList(studyMap) {
  return request({
    url: '/plan/studyMap/list',
    method: 'get',
    params: studyMap
  })
}


// 查询当前学习计划下某门课程某个用户的完成情况
export function getCourseProgressList(query) {
  return request({
    url: '/plan/studyMap/course/list',
    method: 'get',
    params: query
  })
}


// 查询当前学习计划下某门课程某个用户的各个章节完成情况
export function getChapterProgressList(query) {
  return request({
    url: '/plan/studyMap/chapter/list',
    method: 'get',
    params: query
  })
}

